
#ifndef GPIO_I2C2_H
#define GPIO_I2C2_H

#include "Nano100Series.h"
#include "I2c.h"
#include "GpioI2c.h"

#define I2C2_SDA_PORT	PA
#define I2C2_SDA_BIT	BIT0
#define I2C2_SDA_PIN	PA0

#define I2C2_SCL_PORT	PA
#define I2C2_SCL_BIT	BIT1
#define I2C2_SCL_PIN	PA1

void GpioI2c2Init(void);
int GpioI2c2Xfer(struct i2c_msg_t *i2c_msg);

#endif
